package cn.open.feishu.alert.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

/**
 * @Description error日志关联打开kibana配置
 * @Author fandy.lin
 * @Date 2021/11/23 上午9:54
 **/
@Data
public class ButtonProperties {
    @Value("${alert.log.kibana.enable:false}")
    private Boolean kibanaLogEnable;
    @Value("${alert.log.url:#{null}}")
    private String logUrl;
    @Value("${alert.log.last.minutes:30}")
    private Integer lastMinute;
    @Value("${alert.log.stype:#{null}}")
    private String logStype;
    @Value("${alert.monitor.enable:false}")
    private Boolean monitorEnable;
    @Value("${alert.monitor.url:#{null}}")
    private String monitorUrl;
}
